package com.applet.mallappletbackstage.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class Message {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;
    private String message;
    private String user;
    private int watched;
    private String work;
    @TableLogic
    private int isDelete;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
}
